package cn.itcast.dao;

import cn.itcast.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

public interface OrderSettingDao {
    long findCount(Date orderDate);

    void update(OrderSetting orderSetting);

    void add(OrderSetting orderSetting);

    List<OrderSetting> find(String newDate);

    OrderSetting findByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
